package com.liukai.bishe.model.doman.transaction;

import java.util.List;

public class TransactionMessageList {

    private List<Transaction> transactionList;

    private String code;

    public TransactionMessageList(String code) {
        this.code = code;
    }

    public TransactionMessageList(List<Transaction> transactionList, String code) {
        this.transactionList = transactionList;
        this.code = code;
    }

    public TransactionMessageList() {
    }

    public List<Transaction> getTransactionList() {
        return transactionList;
    }

    public void setTransactionList(List<Transaction> transactionList) {
        this.transactionList = transactionList;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "TransactionMessageList{" +
                "transactionList=" + transactionList +
                ", code='" + code + '\'' +
                '}';
    }
}
